//
// Created by icyzeroice on 18-2-10.
//

#include <stdio.h>

int add_one(int addon) {
    return ++addon;
}

int main(int argc, char *argv[]) {

    int a = 1, b, i;

    b = add_one(a);

    // VS needs `printf_s`, `scanf_s` here.
    printf("Please enter a number: ");
    scanf("%d", &i);
    printf("%d\n\r%d\n\r%d", a, b, i);

    return 0;
}
